@media screen and (min-width:320px){
    html{
        font-size: 10px;
    }
    body{
        background-color: white;
    }
}

@media screen and (min-width:640px) {
    html{
        font-size: 20px;
    }
    body{
        background-color: honeydew;
    }
} 

@media screen and (min-width:750px){
    html{
        font-size: 22px;
    }
    body{
        background-color: white;
    }
}

*{
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
}
span{
    color: red;
}
.header{
    position: relative;
    height: 10rem;
    /* background-color: red; */
}
.my-income{
    position: absolute;
    left: 50%;
    margin-left: -4rem;
    margin-top: 3rem;
    width: 8rem;
    height: 2rem;
    /* background-color: gold; */
    text-align: center;
    line-height: 2rem;
    font-size: 2rem;
}
.main{
    position: relative;
    height: 18rem;
    /* background-color: goldenrod; */
    background: url(../image/bg-income.png) repeat-x center;
}
.money{
    position: absolute;
    left: 50%;
    margin-left: -6.5rem;
    margin-top: 4rem;
    height: 3rem;
    width: 13rem;
    /* background-color: green; */
    text-align: center;
    line-height: 3rem;
    font-size: 3rem;
    color: white;
}
.am{
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -4.5rem;
    width: 9rem;
    height: 1.5rem;
    /* background-color: hotpink; */
    text-align: center;
    line-height: 1.5rem;
    color: white;
    font-size: 1rem;
}
.record{
    position: absolute;
    left: 80%;
    margin-top: 2rem;
    width: 6rem;
    height: 1.5rem;
    /* background-color: pink; */
    text-align: center;
    line-height: 1.5rem;
    color: white;
    font-size: 1.5rem;
}
.main2{
    position: relative;
    height: 30rem;
    /* background-color: greenyellow; */
}
.show{
    position: absolute;
    /* visibility: hidden; */
    left: 50%;
    margin-left: -17rem;
    margin-top: -4rem;
    /* visibility: hidden; */
    width: 34rem;
    height: 12rem;
    background-color: white;
    border-radius: 15px;
    border: 1px solid gray;
}
.money2{
    position: absolute;
    left: 50%;
    margin-left: -175px;
    margin-top: 50px;
    margin-bottom: 20px;
    width: 350px;
    height: 64px;
    background-color:white;
    line-height: 3rem;
    font-size: 2rem;
    text-align: center;
    border-radius: 5px 5px 0 0;
    border-bottom: 1px solid gray;
}
.button1{
    position: absolute;
    left: 75%;
    margin-top: 1rem;
    width: 6rem;
    height: 2.5rem;
    background-color: red;
    border-radius: 50px;
    font-size: 1rem;
    color: white;
    border: none;
}
.button1:active{
    color: green;
}
.remind{
    position: absolute;
    left: 50%;
    margin-left: -9rem;
    margin-top: 140px;
    /* width: %; */
    height: 30px;
    /* background-color: red; */
    line-height: 30px ;
    text-align: center;
    font-size: 1rem;
}
.count{
    position: absolute;
    left: 50%;
    margin-left: -16rem;
    margin-top: 115px;
    width: 32rem;
    height: 22rem;
    /* background-color: seagreen; */
}
.count p:nth-child(1){
    margin-top: 80px;
    float: left;
    /* margin-left: 80px; */
    color: black;
    font-size: 2rem;
}
.count p:nth-child(2){
    margin-top: 80px;
    float: right;
    /* margin-right: 80px; */
    color: black;
    font-size: 2rem;
}
.confirm{
    position: absolute;
    /* visibility: hidden; */
    left: 50%;
    margin-left: -17rem;
    margin-top: 360px;
    width: 34rem;
    height: 50px;
    /* background-color: gray; */
    text-align: center;
    line-height: 50px;
    font-size: 1rem;
    border-radius: 5px;
    color: white;
}
.confirm button{
    margin-top: 40px;
    width: 100%;
    height: 80px;
    line-height: 50px;
    font-size: 1rem;
    color: white;
    background-color: red;
    border-radius: 40px;
    border: none;
}
.confirm button:active{
    color: gold;
}